//
//  FKNavVC.m
//  NeteaseEdu
//
//  Created by Frank.Chan on 16/9/26.
//  Copyright © 2016年 zmosa. All rights reserved.
//

#import "FKNavVC.h"
#import "FKAllCourseVC.h"
#import "UIColor+FK.h"

@interface FKNavVC ()

@end

@implementation FKNavVC

+ (void)initialize
{
    UINavigationBar *navigationBar = [UINavigationBar appearanceWhenContainedIn:[self class], nil];
    [navigationBar setShadowImage:[UIImage new]];
    NSDictionary *titleAttrs = @{NSForegroundColorAttributeName : [UIColor colorWithHexString:@"#2E3943"],
                                 NSFontAttributeName : [UIFont systemFontOfSize:17]};
    [navigationBar setTitleTextAttributes:titleAttrs];
}

- (UIStatusBarStyle)preferredStatusBarStyle
{
    if ([self.childViewControllers.firstObject isKindOfClass:[FKAllCourseVC class]]) {
        return UIStatusBarStyleDefault;
    }
    return UIStatusBarStyleLightContent;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
}



@end
